package org.dromara.project.domain.vo;

import org.dromara.project.domain.ProAddress;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;


/**
 * 地区选择视图对象 qyx_address
 *
 * @author LUSH
 * @date 2025-05-27
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = ProAddress.class)
public class ProAddressVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 省市区名称
     */
    @ExcelProperty(value = "省市区名称")
    private String name;

    /**
     * 上级ID
     */
    @ExcelProperty(value = "上级ID")
    private Long parentId;

    /**
     * 级别:0,中国；1，省分；2，市；3，区、县
     */
    @ExcelProperty(value = "级别:0,中国；1，省分；2，市；3，区、县")
    private Long levelType;

    /**
     * 城市代码
     */
    @ExcelProperty(value = "城市代码")
    private String cityCode;

    /**
     * 邮编
     */
    @ExcelProperty(value = "邮编")
    private String zipCode;


}
